a = list(map(int,input("请输入一串数字，以空格分隔").split(" ")))
for i in range(len(a)):
    for j in range(len(a)-i-1):
        if a[j]>a[j+1]:
            a[j],a[j+1]=a[j+1],a[j]
for i in a:
    print(i,end=" ")